#ifndef FACE_TREE_ITEM_H
#define FACE_TREE_ITEM_H

#include "src/face.h"
#include "treeItem.h"

#include <QTreeWidgetItem>

class FaceTreeItem : public TreeItem {
	Q_OBJECT

    public:
        FaceTreeItem(QTreeWidgetItem * = 0, Face * = NULL);
        ~FaceTreeItem();

        void updateFace(Face *);
        Face *getFace();

    public slots:
        void select();

    signals:
        void selected(Face *);
//        void deselected(Face *);

    private:
        Face *f;
};

#endif


